package light.head.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
 * 参加竞标的商家 留言信息
 */
@Entity
@Table
public class SupplyJoinInfo implements Serializable{
	private static final long serialVersionUID = 8240023066808136561L;
	private Integer code;			// 流水号
	private Integer sic;			// 参加投标项目编号
	private String contact;			// 联系人
	private String name;			// 竞标公司名称
	private String phone;			// 联系方式
	private String content;			// 留言类容
	private Date ct;				// 创建时间
	private boolean deleted;		// 是否删除
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getSic() {
		return sic;
	}
	@Column
	public String getName() {
		return name;
	}
	@Column
	public String getPhone() {
		return phone;
	}
	@Column
	public String getContent() {
		return content;
	}
	@Column
	public String getContact() {
		return contact;
	}
	@Temporal(TemporalType.TIMESTAMP)
	@Column(updatable = false, nullable = false)
	public Date getCt() {
		return ct;
	}
	@Column
	public boolean getDeleted() {
		return deleted;
	}
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setSic(Integer sic) {
		this.sic = sic;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public void setCt(Date ct) {
		this.ct = ct;
	}
	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}
	
	
}
